﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PostingInformation.aspx.cs" Inherits="PostingInformation" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DataList ID="dtlPostingInfo" runat="server">
        <ItemTemplate>
            <div>
                <img class="displayed" id="postingImg" alt="" src="<%# Eval("Url") %>"/><br /> <br />          
                <span><h1>Posting name:</h1> <%# Eval("PostingName") %></span><br />
                <span><h1>Student name:</h1> <%# Eval("Fullname") %></span><br />
                <span><h1>Birthday:</h1> <%# Eval("Birthday") %></span><br />
                <span><h1>Email:</h1> <%# Eval("Email") %></span><br />
                <span><h1>Class:</h1> <%# Eval("Class") %></span><br />
                <span><h1>Description:</h1> <%# Eval("Description") %></span><br />
                <span><h1>Quotations:</h1> <%# Eval("Quotations") %></span><br />
                <span><h1>Post date:</h1> <%# Eval("PostDate") %></span><br />   

              <%--  <asp:DataList ID="dtlMarkInfo" runat="server">               
                    <ItemTemplate>
                        <div>
                            <span>Teacher's name: <%# Eval("Fullname") %></span><br />
                            <span>Email: <%# Eval("Email") %></span><br />
                            <span>Mark: <%# Eval("Mark") %> </span><br />
                            <span>Remarks: <%# Eval("Remarks") %> </span><br />
                        </div>
                    </ItemTemplate>            
                </asp:DataList> --%> 
                
                <div class="cleaner_with_height2"></div>
                <span><h2>Mark of teachers</h2></span><br />
                    <asp:GridView ID="grv_Mark"  Width="615px" runat="server" AutoGenerateColumns="false">
                        <Columns>
                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Teacher's name</HeaderTemplate>
                                <ItemTemplate><%#Eval("Fullname") %></ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Email</HeaderTemplate>
                                <ItemTemplate><%#Eval("Email") %></ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Student Name</HeaderTemplate>
                                <ItemTemplate><%#Eval("Fullname")%></ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Mark</HeaderTemplate>
                                <ItemTemplate><%#Eval("Mark")%></ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Remarks</HeaderTemplate>
                                <ItemTemplate><%#Eval("Remarks")%></ItemTemplate>
                            </asp:TemplateField>
                           
                        </Columns>
                    </asp:GridView>           
    
                 <br />
        <hr width="620px" align="left" />
                 <br />
          </div>
                           
            </div>
        </ItemTemplate>
    </asp:DataList>
</asp:Content>

